package com.kehutong.charge.entity;

import com.kehutong.charge.util.enums.EnableStateEnum;
import com.kehutong.charge.util.enums.ResidentsTypeEnum;
import com.kehutong.common.entity.DataEntity;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

/**
 * @program: kht
 * @description: 缴费单记录
 * @author: joneron
 * @create: 2021/6/7
 **/
@Table(value="t_charge_receipt_bill_record", comment="缴费单记录表", multi = true, idType = IDType.TIMESTAMP,isSyncGenerateTable = true, engine = "innodb")
public class PayBillRecords extends DataEntity {

    protected PayBillRecords(String id) {
        super(id);
    }

    @Column(comment="缴费单号")
    private String payBillNo;

    @Column(comment="缴费编号")
    private String payOrderNo;

    @Column(comment="所属小区编号")
    private String communityNo;

    @Column(comment="所属小区名称")
    private String communityName;

    @Column(comment="账单编号")
    private String houseBillNo;

    @Column(comment="房屋编号")
    private String houseNo;

    @Column(comment="房屋信息")
    private String houseInfo;

    @Column(comment="文件id")
    private String fileId;

    @Column(comment="缴费人")
    private String chargeName;

    @Column(comment="手机号码")
    private String mobile;

    @Column(comment="缴费人编号")
    private String userNo;

    @Column(comment="住户类型")
    private ResidentsTypeEnum residentsType;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    @Column(comment = "创建人")
    private String createName;

    @Column(comment = "状态是否生效:0是，1否")
    private EnableStateEnum EnableStat;

    public String getPayBillNo() {
        return payBillNo;
    }

    public void setPayBillNo(String payBillNo) {
        this.payBillNo = payBillNo;
    }

    public String getPayOrderNo() {
        return payOrderNo;
    }

    public void setPayOrderNo(String payOrderNo) {
        this.payOrderNo = payOrderNo;
    }

    public String getCommunityNo() {
        return communityNo;
    }

    public void setCommunityNo(String communityNo) {
        this.communityNo = communityNo;
    }

    public String getHouseInfo() {
        return houseInfo;
    }

    public void setHouseInfo(String houseInfo) {
        this.houseInfo = houseInfo;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getHouseBillNo() {
        return houseBillNo;
    }

    public void setHouseBillNo(String houseBillNo) {
        this.houseBillNo = houseBillNo;
    }

    public String getHouseNo() {
        return houseNo;
    }

    public void setHouseNo(String houseNo) {
        this.houseNo = houseNo;
    }

    public EnableStateEnum getEnableStat() {
        return EnableStat;
    }

    public void setEnableStat(EnableStateEnum enableStat) {
        EnableStat = enableStat;
    }


    public String getChargeName() {
        return chargeName;
    }

    public void setChargeName(String chargeName) {
        this.chargeName = chargeName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public ResidentsTypeEnum getResidentsType() {
        return residentsType;
    }

    public void setResidentsType(ResidentsTypeEnum residentsType) {
        this.residentsType = residentsType;
    }
}
